package cn.zcy.springboot_springsecurity.mapper;

import cn.zcy.springboot_springsecurity.domain.RolePermissions;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RolePermissionsMapper {
    int deleteByPrimaryKey(@Param("roleId") Integer roleId, @Param("permissionId") Integer permissionId);

    int insert(RolePermissions record);

    List<RolePermissions> selectAll();
}
